package com.example.carRental.rabbitmqDealUtils;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author 92307
 * @version 1.0
 * @time 2022/4/2
 * @Describe describe
 */
@AllArgsConstructor
@NoArgsConstructor
public enum DealCode {
    sentMessageToCustomer(1001,"给客户传递信息"),
    sentMessageToCharterer(1002,"给商户传递信息");

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
